﻿using System;
using System.Collections.Generic;

namespace Database.ERPNext
{
    public partial class tabSubscription
    {
        public string name { get; set; } = null!;
        public DateTime? creation { get; set; }
        public DateTime? modified { get; set; }
        public string? modified_by { get; set; }
        public string? owner { get; set; }
        public int docstatus { get; set; }
        public int idx { get; set; }
        public string? party_type { get; set; }
        public string? party { get; set; }
        public string? company { get; set; }
        public string? status { get; set; }
        public DateOnly? start_date { get; set; }
        public DateOnly? end_date { get; set; }
        public DateOnly? cancelation_date { get; set; }
        public DateOnly? trial_period_start { get; set; }
        public DateOnly? trial_period_end { get; set; }
        public int follow_calendar_months { get; set; }
        public int generate_new_invoices_past_due_date { get; set; }
        public DateOnly? current_invoice_start { get; set; }
        public DateOnly? current_invoice_end { get; set; }
        public int days_until_due { get; set; }
        public int cancel_at_period_end { get; set; }
        public int generate_invoice_at_period_start { get; set; }
        public string? sales_tax_template { get; set; }
        public string? purchase_tax_template { get; set; }
        public string? apply_additional_discount { get; set; }
        public decimal additional_discount_percentage { get; set; }
        public decimal additional_discount_amount { get; set; }
        public int submit_invoice { get; set; }
        public string? cost_center { get; set; }
        public string? _user_tags { get; set; }
        public string? _comments { get; set; }
        public string? _assign { get; set; }
        public string? _liked_by { get; set; }
    }
}
